package com.tinycloud.miracll.finance.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * SAP订单对象 finance_sap_product_order
 * 
 * @author tiny
 * @date 2021-09-06
 */
public class SapProductOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productnum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String itemcode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String itemname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date postdate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal cmpltqty;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String materialcode;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dscription;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal quantity;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal price;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal materialcost;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String materialgroup;

    /** $column.columnComment */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProductnum(String productnum) 
    {
        this.productnum = productnum;
    }

    public String getProductnum() 
    {
        return productnum;
    }
    public void setItemcode(String itemcode) 
    {
        this.itemcode = itemcode;
    }

    public String getItemcode() 
    {
        return itemcode;
    }
    public void setItemname(String itemname) 
    {
        this.itemname = itemname;
    }

    public String getItemname() 
    {
        return itemname;
    }
    public void setPostdate(Date postdate) 
    {
        this.postdate = postdate;
    }

    public Date getPostdate() 
    {
        return postdate;
    }
    public void setCmpltqty(BigDecimal cmpltqty) 
    {
        this.cmpltqty = cmpltqty;
    }

    public BigDecimal getCmpltqty() 
    {
        return cmpltqty;
    }
    public void setMaterialcode(String materialcode) 
    {
        this.materialcode = materialcode;
    }

    public String getMaterialcode() 
    {
        return materialcode;
    }
    public void setDscription(String dscription)
    {
        this.dscription = dscription;
    }

    public String getDscription()
    {
        return dscription;
    }
    public void setQuantity(BigDecimal quantity) 
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() 
    {
        return quantity;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setMaterialcost(BigDecimal materialcost) 
    {
        this.materialcost = materialcost;
    }

    public BigDecimal getMaterialcost() 
    {
        return materialcost;
    }
    public void setMaterialgroup(String materialgroup) 
    {
        this.materialgroup = materialgroup;
    }

    public String getMaterialgroup() 
    {
        return materialgroup;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productnum", getProductnum())
            .append("itemcode", getItemcode())
            .append("itemname", getItemname())
            .append("postdate", getPostdate())
            .append("cmpltqty", getCmpltqty())
            .append("materialcode", getMaterialcode())
            .append("dscription", getDscription())
            .append("quantity", getQuantity())
            .append("price", getPrice())
            .append("materialcost", getMaterialcost())
            .append("materialgroup", getMaterialgroup())
            .append("createBy", getCreateBy())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
